package com.csi.bumblebee.domain.util;

import java.io.Serializable;

/**
 * 返回结果码
 *
 * @author HUOJT
 */
public interface StateCode extends Serializable {

    Long INSERT_SUCCESS = 10100L;

    Long INSERT_FAILURE = 10200L;

    Long DELETE_SUCCESS = 20100L;

    Long DELETE_FAILURE = 20200L;

    Long UPDATE_SUCCESS = 30100L;

    Long UPDATE_FAILURE = 30200L;

    Long FIND_SUCCESS = 40100L;

    Long FIND_FAILURE = 40200L;

    Long PASSAPPLICATION_SUCCESS = 210300L;

    Long PASSAPPLICATION_FAILURE = 410300L;

    Long PASSAPPLICATION = 110300L;

    Long NOTINITAPPLICATION = 420300L;

    Long NOTDUPLICATE = 230300L;

    Long DUPLICATE = 430300L;

    Long EXCEPTION = 80000L;

    Long RUN_EXCEPTION = 80200L;

    Long SYSTEM_EXCEPTION = 80400L;

    Long BUSINESS_EXCEPTION = 80600L;

    Long OTHER_EXCEPTION = 80800L;

}

